#include "hello.h"

hello::hello(QWidget* parent)
    : QMainWindow(parent)
    , ui(new Ui_hello)
{
    ui->setupUi(this);
    connect(ui->pushButton,&QPushButton::clicked,this,&hello::clicked);
}

hello::~hello()
{
    delete ui; 
}

void hello::clicked()
{
    QMessageBox::information(this,"Clicked","消息");
} 